#include "GowildResponseFloorListCmd.h"

GowildResponseFloorListCmd::GowildResponseFloorListCmd(QObject *parent) :
    BaseCmd(parent)
{
    this->m_protocolType = ProtocolType::GowildProtocol;
    this->m_functionCode = FunctionCode;
}

Package GowildResponseFloorListCmd::toPackage()
{
    Package package;

    QVariantMap jsonData;
    jsonData.insert("type","RESPONSE_FLOOR");

    QJson::Serializer serializer;
    QByteArray body = serializer.serialize(jsonData, NULL);

    package.setBody(body);
    package.setFunction(FunctionCode);

    return package;
}

void GowildResponseFloorListCmd::unPackage(Package package)
{
     Q_UNUSED(package);
}
